<?php
/**
 *
 * @user: leo
 * @date: 2021/6/22
 * @createTime: 13:38
 * @company: 迈酷网络科技 http://www.maicooit.com
 */
namespace app\admin\logic\user;

use app\BaseController;
use app\admin\model\Roles as RolesModel;

class Roles extends  BaseController {
    //角色列表
    public static function RoleListLogic($key,$domain_id,$page,$pagesize){
        $role = new RolesModel();
        $list = $role->RoleListModel($key,$domain_id,$page,$pagesize);
        return $list;
    }
    //角色新增
    public static function RoleAddLogic($info){
        $role = new RolesModel();
        $res = $role->RoleInsertModel($info);
        return $res;
    }
    //角色编辑
    public static function RoleSaveLogic(){
    }
    //角色禁用
    public static function RoleDisableEableLogic(){
    }
    //角色删除
    public static function RoleDelLogic(){
    }
}